<?php


	class UserStatus {
		private $name;
		private $date;
		private $id;

		function __construct(array $userstatus) {
			$this->setDate($userstatus['date']);
			$this->setId($userstatus['id']);
			$this->setName($userstatus['name']);
		}


		public function setDate($date) {
			$this->date = $date;
		}


		public function getDate() {
			return $this->date;
		}


		public function setId($id) {
			$this->id = $id;
		}


		public function getId() {
			return $this->id;
		}


		public function setName($name) {
			$this->name = $name;
		}


		public function getName() {
			return $this->name;
		}


	}

?>